import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            System.out.print("*");


        }
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个数：");

        int p=sc.nextInt();

        for (int j = 0; j < p; j++) {
            System.out.println("*");
        }

        for (int j = -100; j >=0 ; j--) {
            System.out.println(j);
        }

        int sum=1;
        for (int j = 1; j <=10 ; j++) {
            sum*=j;
        }
        System.out.println("1*2*3*...*10值为："+sum);

        System.out.println("请输入一个数");
        int pp=sc.nextInt();
        for (int j = 1; j <=pp ; j++) {
            System.out.println(j*j);
        }
    }
}
